<template>
  <baidu-map class="map" :center="{lng: 114.254376, lat: 30.606012}" :zoom="30">
    <bm-marker :position="{lng: 114.254376, lat: 30.606012}" :dragging="true" animation="BMAP_ANIMATION_BOUNCE" :label="{content: '已送达', opts: {offset: {width: 20, height: -10}}}"></bm-marker>
  </baidu-map>
</template>
<script>
export default {
  data () {
    return {
      center: {lng: 0, lat: 0}
    }
  },
  methods: {
    handler () {
      this.lng = 114.254376
      this.lat = 30.606012
    }
  }
}
</script>